package generator.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import generator.domain.SysRole;
import generator.service.SysRoleService;
import generator.mapper.SysRoleMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 李展鹏
* @description 针对表【t_sys_role(系统角色)】的数据库操作Service实现
* @createDate 2024-04-25 13:57:11
*/
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole>
    implements SysRoleService{
    @Resource
    SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> getRoleList() {
        return sysRoleMapper.getRoleList();
    }
}




